package gang.org.springframework.framework.io;

import gang.org.springframework.framework.util.GangResourceUtils;

import java.io.File;
import java.io.InputStream;
import java.net.URL;

/**
 * @author gang.chen
 * @description
 * @Date 2021/7/30 13:10
 */
public abstract class GangAbstractFileResolvingResource extends GangAbstractResource{

    @Override
    public File getFile() {
        URL url = getURL();

        if (false){
            //TODO
        }
        return GangResourceUtils.getFile(url, getDescription());
    }
}
